package com.lyandwc.lw_bbs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyandwc.lw_bbs.entity.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {
    List<Category> listCategories();

    Category updateCount(int categoryId);

    void insertCategory(Category category, int fatherCategoryId);
}